/*============================================================================
* Author        : Li Ji
* Mail          : leejearl@126.com
* Last modified : 2015-02-08 18:13
* Filename      : CConfig.inl
* Description   :
*
=============================================================================*/

inline long int CConfig::getNDim() {return _nDim;};
inline long int CConfig::getKindSolver() {return _solver;};
inline std::string CConfig::getMeshFile() {return _meshFile;};
inline std::string CConfig::getOutMeshFile() {return _outMeshFile;};

inline void CConfig::setNMarker(long int val) 
{
    _nMarker = val;
    std::vector<std::string>().swap(_markerTags);
    _markerTags.resize(_nMarker);
    std::vector< long int >().swap(_markerNElem);
    _markerNElem.resize(_nMarker);
    
};

inline long int CConfig::getNMarker()
{
    return _nMarker;
};

inline void CConfig::setMarkerTag(long int aMarker, std::string aMarkerTag)
{
    _markerTags[aMarker] = aMarkerTag;
};
inline std::string CConfig::getMarkerTag(long int aMarker)
{
    return _markerTags[aMarker];
};

inline void CConfig::setMarkerNElem(long int aMarker, long int val)
{
    _markerNElem[aMarker] = val;
};

inline long int CConfig::getMarkerNElem(long int aMarker)
{
    return _markerNElem[aMarker];
};

inline long int CConfig::getMarkerType(long int aMarker)
{
    return _markerTypes[aMarker];
};
